package com.zh.client.products.service;

import com.zh.pojo.Notice;
import com.zh.pojo.Products;
import com.zh.utils.PageModel;

import java.util.List;

public interface ProductsService {

    List<Products> findproductByCategory(String category, PageModel pageModel);

    int findproductCountByCategory(String category);

    List<Products> findproductByname(String name,PageModel pageModel);

    int findproductByNameCount(String name);

    Products findProductById(String id);

    Notice findNotice();

    List<Products> findWeekHotProduct();
}
